//
//  ZXsaleActivityCell.m
//  qianke
//
//  Created by ZX on 2017/6/30.
//  Copyright © 2017年 ZX. All rights reserved.
//

#import "ZXsaleActivityCell.h"
@implementation ZXsaleActivityCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setStatus:(ZXsaleActivityModel *)status{
    self.hid = status.hid;
    NSString * creatTimeStr = [ZXToolObj timeWithTimeIntervalString:status.followTime];
    _genjinshijianLabel.text = creatTimeStr;
    _genjinjieguoLabel.text = status.hResult;
    _genjindengjiLabel.text = status.level;
    _genjinfangshiLabel.text = status.type;
    _genjinyuanyinLabel.text = status.goal;
    _genjinneirongLabel.text = status.hContent;
    _genjinhuodongLabel.text = status.hAction;
    _kehujianyiLabel.text = status.idea;
}
- (void)setFrame:(CGRect)frame
{
    frame.size.height -= ZXMargin;
    [super setFrame:frame];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
